<?= $this->doctype() ?>
<html lang="en">
    <head>
        <meta charset="utf-8"/>
        <title>CMS Admin Panel</title>
        <link rel="stylesheet" href="<?=$this->theme("/css/layout.css",true,'admin')?>" type="text/css" media="screen" />
        <!--[if lt IE 9]>
        <link rel="stylesheet" href="<?=$this->theme("/css/ie.css",true,'admin')?>" type="text/css" media="screen" />
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <script src="<?=$this->theme("/js/jquery-1.5.2.min.js",true,'admin')?>" type="text/javascript"></script>
        <script src="<?=$this->theme("/js/hideshow.js",true,'admin')?>" type="text/javascript"></script>
        <script src="<?=$this->theme("/js/funciones.js",true,'admin')?>" type="text/javascript"></script>
        
        <script type="text/javascript" src="<?=$this->theme("/js/jquery.equalHeight.js",true,'admin')?>"></script>
        
        <script type="text/javascript">
            

            $(document).ready(function() {

                //When page loads...
                $(".tab_content").hide(); //Hide all content
                $("ul.tabs li:first").addClass("active").show(); //Activate first tab
                $(".tab_content:first").show(); //Show first tab content

                //On Click Event
                $("ul.tabs li").click(function() {

                    $("ul.tabs li").removeClass("active"); //Remove any "active" class
                    $(this).addClass("active"); //Add "active" class to selected tab
                    $(".tab_content").hide(); //Hide all tab content

                    var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
                    $(activeTab).fadeIn(); //Fade in the active ID content
                    return false;
                });

            });
        </script>
        <script type="text/javascript">
            $(function(){
                $('.column').equalHeight();
            });
        </script>
        
    </head>
    <body>
        <?php
            if (isset($this->layout()->header))
                echo $this->layout()->header;

            if (isset($this->layout()->left))
                echo $this->layout()->left;
        ?>
        <section id="main" class="column">
            <?= $this->layout()->content; ?>
        </section>
    </body>
</html>